package com.ruoyi.project.system.video.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 视频管理对象 video
 * 
 * @author ruoyi
 * @date 2024-11-11
 */
public class Video extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 视频简介 */
    @Excel(name = "视频简介")
    private String vName;

    /** 视频id */
    @Excel(name = "视频id")
    private Long vId;

    /** 视频时长 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "视频时长", width = 30, dateFormat = "HH:mm:ss")
    private Date vDuration;

    /** 视频封面 */
    @Excel(name = "视频封面")
    private String vCover;

    /** 视频类型 */
    @Excel(name = "视频类型")
    private String vType;

    /** 视频发布日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "视频发布日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;

    /** 视频点击次数 */
    @Excel(name = "视频点击次数")
    private Long vNum;

    /** 视频创建者 */
    @Excel(name = "视频创建者")
    private Long vCreator;

    /** 视频地址 */
    @Excel(name = "视频地址")
    private String vIp;

    public void setvName(String vName) 
    {
        this.vName = vName;
    }

    public String getvName() 
    {
        return vName;
    }

    public void setvId(Long vId) 
    {
        this.vId = vId;
    }

    public Long getvId() 
    {
        return vId;
    }

    public void setvDuration(Date vDuration) 
    {
        this.vDuration = vDuration;
    }

    public Date getvDuration() 
    {
        return vDuration;
    }

    public void setvCover(String vCover) 
    {
        this.vCover = vCover;
    }

    public String getvCover() 
    {
        return vCover;
    }

    public void setvType(String vType) 
    {
        this.vType = vType;
    }

    public String getvType() 
    {
        return vType;
    }

    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }

    public void setvNum(Long vNum) 
    {
        this.vNum = vNum;
    }

    public Long getvNum() 
    {
        return vNum;
    }

    public void setvCreator(Long vCreator) 
    {
        this.vCreator = vCreator;
    }

    public Long getvCreator() 
    {
        return vCreator;
    }

    public void setvIp(String vIp) 
    {
        this.vIp = vIp;
    }

    public String getvIp() 
    {
        return vIp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("vName", getvName())
            .append("vId", getvId())
            .append("vDuration", getvDuration())
            .append("vCover", getvCover())
            .append("vType", getvType())
            .append("creatTime", getCreatTime())
            .append("vNum", getvNum())
            .append("vCreator", getvCreator())
            .append("vIp", getvIp())
            .toString();
    }
}
